﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for TAPersonnel
/// </summary>
/// 
namespace CE.TravelInsurance
{

    public class TAPersonnel
    {
        public TAPersonnel()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _tapersonnelid;
        private Int64 _tainsid;
        private Int64 _taappseaid;
        private string _taplantype;
        private string _tasalutation;
        private string _tafirstname;
        private string _tasurname;
        private string _taidentificationtype;
        private string _taidentificationnum;
        private string _tagender;
        private string _taaddress;
        private string _tapostcode;
        private DateTime _tabirthday;
        private string _tanationality;
        private string _taresidentialnum;
        private string _tamobilenum;
        private string _taofficenum;
        private bool _travellertobeinsured;
        private bool _status;
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;        
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        
        public Int64 TAPersonnelId
        {
            get { return _tapersonnelid; }
            set { _tapersonnelid = value; }
        }


        public Int64 TAInsId
        {
            get { return _tainsid; }
            set { _tainsid = value; }
        }

        public Int64 TAAppSeaId
        {
            get { return _taappseaid; }
            set { _taappseaid = value; }
        }

        public string TAPlanType
        {
            get { return _taplantype; }
            set { _taplantype = value; }
        }

        public string TASalutation
        {
            get { return _tasalutation; }
            set { _tasalutation = value; }
        }

        public string TAFirstName
        {
            get { return _tafirstname; }
            set { _tafirstname = value; }
        }

        public string TASurname
        {
            get { return _tasurname; }
            set { _tasurname = value; }
        }

        public string TAIdentificationType
        {
            get { return _taidentificationtype; }
            set { _taidentificationtype = value; }
        }

        public string TAIdentificationNum
        {
            get { return _taidentificationnum; }
            set { _taidentificationnum = value; }
        }

        public string TAGender
        {
            get { return _tagender; }
            set { _tagender = value; }
        }

        public string TAAddress
        {
            get { return _taaddress; }
            set { _taaddress = value; }
        }

        public string TAPostcode
        {
            get { return _tapostcode; }
            set { _tapostcode = value; }
        }

        public DateTime TABirthday
        {
            get { return _tabirthday; }
            set { _tabirthday = value; }
        }

        public string TANationality
        {
            get { return _tanationality; }
            set { _tanationality = value; }
        }

        public string TAResidentialNum
        {
            get { return _taresidentialnum; }
            set { _taresidentialnum = value; }
        }

        public string TAMobileNum
        {
            get { return _tamobilenum; }
            set { _tamobilenum = value; }
        }

        public string TAOfficeNum
        {
            get { return _taofficenum; }
            set { _taofficenum = value; }
        }

        public bool TravellerToBeInsured
        {
            get { return _travellertobeinsured; }
            set { _travellertobeinsured = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public void ClearFields()
        {
            _tapersonnelid = 0;
            _tainsid = 0;
            _taappseaid = 0;
            _taplantype = "";
            _tasalutation = "";
            _tafirstname = "";
            _tasurname = "";
            _taidentificationtype = "";
            _taidentificationnum = "";
            _tagender = "";
            _taaddress = "";
            _tapostcode = "";
            _tabirthday = DateTime.Parse("1/1/1900");
            _tanationality = "";
            _taresidentialnum = "";
            _tamobilenum = "";
            _taofficenum = "";
            _travellertobeinsured = false;
            _status = true;
            _refceuserid = 0;
            _vieweddetailid = 0;            
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
        }


    }
}